package com.click369.mianshiqingbao.mapper;

import com.click369.mianshiqingbao.pojo.PaymentsBean;
import com.click369.mianshiqingbao.pojo.PaymentsBeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户支付信息的数据访问接口
 */
public interface PaymentsBeanMapper {
    long countByExample(PaymentsBeanExample example);

    int deleteByExample(PaymentsBeanExample example);

    int deleteByPrimaryKey(Long payId);

    int insert(PaymentsBean record);

    int insertSelective(PaymentsBean record);

    List<PaymentsBean> selectByExample(PaymentsBeanExample example);

    PaymentsBean selectByPrimaryKey(Long payId);

    int updateByExampleSelective(@Param("record") PaymentsBean record, @Param("example") PaymentsBeanExample example);

    int updateByExample(@Param("record") PaymentsBean record, @Param("example") PaymentsBeanExample example);

    int updateByPrimaryKeySelective(PaymentsBean record);

    int updateByPrimaryKey(PaymentsBean record);
}